<table id="tabla"  class="tabla" >
    <thead>
        <tr>
            <th>Nombre</th>
            <th>Fecha</th>
            <th>Observación</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($payment_reviews as $payment_review): ?>
            <tr>
                <td><?php echo $payment_review['User']['nombre'] . " " . $payment_review['User']['primer_apellido'] . " " . $payment_review['User']['segundo_apellido'] ?></td>
                <td><?php echo $payment_review['PaymentReview']['fecha'] ?></td>
                <td><?php echo $payment_review['PaymentReview']['observacion'] ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br><br><br>
<?php echo $this->Ajax->link('Agregar observación', array('controller' => 'PaymentReviews', 'action' => 'add', $payment_id), array('update' => 'content', 'indicator' => 'loading', 'class' => 'actions')); ?>
<br><br><br>
<?php echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'Payments', 'action' => 'index'), array('update' => 'content', 'indicator' => 'loading', 'escape' => false)); ?>

